package org.infosys.org.service;

import org.infosys.basic.utils.PageList;
import org.infosys.org.domain.Department;
import org.infosys.org.query.DepartmentQuery;

import java.util.List;
/**
* @Description: 部门业务层接口
* @Author: hank
* @Version: 1.0
* @Date:  2022/6/21 17:43  
*/
public interface IDepartmentService {
    List<Department> loadAll();

    Department loadById(Long id);

    void save(Department department);

    void update(Department department);

    void remove(Long id);

    PageList<Department> loadQuery(DepartmentQuery departmentQuery);

}
